import request from "@/util/request";

export function addWechatUser(wechatUser){
    return request({
        url: '/wechat_user/add',
        method: 'post',
        data: wechatUser
    })
}

export function deleteWechatUser(id){
    return request({
        url: '/wechat_user/delete/' + id,
        method: 'delete'
    })
}

export function listWechatUser(){
    return request({
        url: '/wechat_user/list',
        method: 'get'
    })
}

export function updateWechatUser(wechatUser){
    return request({
        url: '/wechat_user/update',
        method: 'post',
        data: wechatUser
    })
}